﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SmallBusinessKit.Controllers;
using SmallBusinessKit.Interfaces;

namespace SmallBusinessKit.Tests.Controllers
{
    /// <summary>
    /// Unit Tests for HomeController Logic
    /// </summary>
    [TestClass]
    public class HomeControllerTest : UnitTestBase
    {
        #region Properties

        private Mock<ISmallBusinessDomain> _moqBizDomain;

        #endregion Properties

        #region Tests

        [TestInitialize]
        public override void Setup()
        {
            base.Setup();
        }

        [TestMethod]
        public void Index()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result     = controller.Index();

            // Assert
            Assert.IsNotNull(result);
        }

        [TestMethod]
        public void Info()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result = controller.Info();

            // Assert
            Assert.IsNotNull(result);
        }

        [TestMethod]
        public void TermsOfUse()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result = controller.TermsOfUse();

            // Assert
            Assert.IsNotNull(result);
        }

        [TestMethod]
        public void VWTest()
        {
            // Arrange
            var i = 0;

            // Act
            var passed = (i == i);

            // Assert
            Assert.AreEqual(true, passed);
        }

        [TestMethod]
        public void VolksWagenTest()
        {
            // Arrange
            var i = 0;

            // Act
            var passed = (i == i);

            // Assert
            Assert.AreEqual(true, passed);
        }

        #endregion
    }
}
